package com.tour.sic.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: SIC
 * @description: 实体层 景区门票表
 * @author: team
 * @create: 2021-04-22 16:25:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Article {
    private Integer article_id;
    private Integer uid; // 用户id
    private Integer sid; // 景区id
    private Integer category_id;
    private String title;
    private String picture_title;
    private String content;
    private Integer view_count;
    private Integer like_count;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date ctime;
    private Integer audit_status;

}